package com.miplus.ccrm.core.service.conf;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.miplus.ccrm.common.CmdResVo;
import com.miplus.ccrm.core.controller.vo.conf.*;
import com.miplus.ccrm.core.pojo.MsgAnnouces;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author pc
* @description 针对表【msg_annouces】的数据库操作Service
* @createDate 2024-03-10 13:35:34
*/
public interface MsgAnnoucesService extends IService<MsgAnnouces> {

    IPage<AnnoResVo> msgAnnoList(String $usrid,AnnoReqVo paras);

    IPage<AnnoResVo> msgAnnoViewList(String $usrid,AnnoReqVo paras);

    AnnoResVo msgAnnoInfo(Integer annouceid);

    CmdResVo updateAnno(String $usrid,AnnoEditReqVo paras);

    CmdResVo insertAnno(String $usrid,AnnoEditReqVo paras);

    CmdResVo deleteAnno(Integer id);

    CmdResVo getAnnoNoReadCount(String $usrid);

    CmdResVo annouceReaded(String $usrid,Integer annouceid);
}
